merging two dictionaries